months = ['january','february','march','april','may','june','july','august','september',
          'october','november','december']
print(type(months))
print(len(months))
months[3] = 4
print(months)# 列表可以同时容纳不同类型元素
print(months[0],months[3])
print(months[-12],months[-1])
print("The final element of months is",months[-1])